package com.itheima.service.impl;

import com.itheima.dao.AccountDao;
import com.itheima.service.AccountService;

public class AccountServiceImpl implements AccountService {
    private AccountDao accountDao;
    private int num;

    private String version;
       public void setAccountDao(AccountDao accountDao){
            this.accountDao=accountDao;
        }
        public void setNum(int num){
            this.num=num;
        }

    public void save() {
        System.out.println(num);
            accountDao.save();
    }
}
